<template>
	<view class="base-filter">
		<view class="flex-row-between">
			<view class="label">{{ label }}</view>
			<slot name="right" />
		</view>
		<slot />
	</view>
</template>

<script>
	export default {
		name: 'baseFilter',
		props: {
			label: {
				type: String
			}
		}
	}
</script>

<style>
	.base-filter .label {
		font-size: 28rpx;
		color: #333333;
		height: 40rpx;
		line-height: 40rpx;
	}
	.base-filter {
		margin-top: 20rpx;
	}
</style>